-- GENERATED SPELL FOR [Grik'nir the Cold] --


function spell0_808(pUnit, Event) --@Frost Shock,n/a--
pUnit:FullCastSpellOnTarget(21030,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_808', 8284, 1)
end

function spell1_808(pUnit, Event) --@Frostmane Strength,n/a--
pUnit:FullCastSpellOnTarget(6957,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_808', 1000, 1)
end

function Sorts_808(pUnit, Event)
local choix_sorts_808 = math.random(0, 1)
if choix_sorts_808 == 0 then
pUnit:RegisterEvent('spell0_808', 1, 1)
end
if choix_sorts_808 == 1 then
pUnit:RegisterEvent('spell1_808', 1, 1)
end
end

function mob808_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_808', math.random(1500, 3000), 1)
end

function mob808_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob808_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob808_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(808, 1, 'mob808_Action')
RegisterUnitEvent(808, 2, 'mob808_Leave')
RegisterUnitEvent(808, 3, 'mob808_Kill')
RegisterUnitEvent(808, 4, 'mob808_Die')
